package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * TeacherCourseModel
 * 教师授课表
 *
 * @author 杨江涛 
 * @version 2.0.0
 * @since 2.0.0 2018-11-16 20:35:34
 */
@ApiModel(value = "TeacherCourseModel:教师授课表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class TeacherCourseModel implements Serializable {

    //region 模板逆向生产来自TeacherCourseEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "teacherCourse主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 课程_id
	 */
	@ApiModelProperty(value = "课程_id",required = true)
	private String courseId;

	/**
	 * 教师_id
	 */
	@ApiModelProperty(value = "教师_id",required = true)
	private String teacherId;

	/**
	 * 课程名称
	 */
    @ApiModelProperty(value = "课程名称")
	private String courseName;

	/**
	 * 教师名称
	 */
    @ApiModelProperty(value = "教师名称")
	private String teacherName;

	/**
	 * 学年学期
	 */
    @ApiModelProperty(value = "学年学期")
	private String schoolYear;

	/**
	 * 是否需要多媒体
	 */
    @ApiModelProperty(value = "是否需要多媒体", example = "0")
	private Integer isMedia;

	/**
	 * 是否需要机房
	 */
    @ApiModelProperty(value = "是否需要机房", example = "0")
	private Integer isComputer;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */

	/**
	 * 教师名称
	 */
	@ApiModelProperty(value = "教师名称")
	private String name;

	/**
	 * 教师代码
	 */
	@ApiModelProperty(value = "教师代码")
	private String code;

	/**
	 * 教师性别
	 */
	@ApiModelProperty(value = "教师性别")
	private String sex;
}
